package com.app.mapper;


import com.app.model.PositionModel;
import com.app.model.ShareLikesComModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Mapper
@Component
@Transactional
public interface ShareLikesComMapper extends BaseMapper<ShareLikesComModel> {

    int deleteLikeByUid(int type,int circleId,int userId);//取消1点赞2评论

    List<ShareLikesComModel> selectShareByZid(int zid);


}
